import request from '@/utils/request'
// 获取图片验证码
export function getCodeImg(){
  return request({
    method:'GET',
    url:'verify/randomImage'
  })
}

// 登录
export function apiLogin(data){
  return request({
    method:'post',
    url:'login/dologin',
	data
  })
}
//退出登录
export function apiLoginOut(){
  return request({
    method:'post',
    url:'login/loginOut'
  })
}

// 获取菜单数
export function getMenu(){
  return request({
    method:'post',
    url:'index/menu'
  })
}